package cn.bone.vertx.demo01;

import io.vertx.core.Vertx;

/**
 * Created by MD-01 on 2017/2/9.
 */
public class App {
    public static void main(String[] args){
        Vertx.vertx().createHttpServer()
                .requestHandler(req -> {
                    req.response().end("hello world");
                }).listen(8000, result -> {
                    if(result.succeeded()){

                    }else{

                    }
        });
    }
}
